.class Lcom/youdao/note/activity/resource/DoodleActivity$2;
.super Ljava/lang/Object;
.source "DoodleActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/youdao/note/activity/resource/DoodleActivity;->initViewListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/activity/resource/DoodleActivity;


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/resource/DoodleActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 78
    iput-object p1, p0, Lcom/youdao/note/activity/resource/DoodleActivity$2;->this$0:Lcom/youdao/note/activity/resource/DoodleActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2
    .parameter "v"

    .prologue
    .line 80
    iget-object v0, p0, Lcom/youdao/note/activity/resource/DoodleActivity$2;->this$0:Lcom/youdao/note/activity/resource/DoodleActivity;

    #getter for: Lcom/youdao/note/activity/resource/DoodleActivity;->doodleMeta:Lcom/youdao/note/ui/skitch/doodle/DoodleMeta;
    invoke-static {v0}, Lcom/youdao/note/activity/resource/DoodleActivity;->access$100(Lcom/youdao/note/activity/resource/DoodleActivity;)Lcom/youdao/note/ui/skitch/doodle/DoodleMeta;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/youdao/note/activity/resource/DoodleActivity$2;->this$0:Lcom/youdao/note/activity/resource/DoodleActivity;

    #getter for: Lcom/youdao/note/activity/resource/DoodleActivity;->doodleMeta:Lcom/youdao/note/ui/skitch/doodle/DoodleMeta;
    invoke-static {v0}, Lcom/youdao/note/activity/resource/DoodleActivity;->access$100(Lcom/youdao/note/activity/resource/DoodleActivity;)Lcom/youdao/note/ui/skitch/doodle/DoodleMeta;

    move-result-object v0

    invoke-virtual {v0}, Lcom/youdao/note/ui/skitch/doodle/DoodleMeta;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 84
    :cond_0
    :goto_0
    return-void

    .line 83
    :cond_1
    iget-object v0, p0, Lcom/youdao/note/activity/resource/DoodleActivity$2;->this$0:Lcom/youdao/note/activity/resource/DoodleActivity;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/youdao/note/activity/resource/DoodleActivity;->showDialog(I)V

    goto :goto_0
.end method
